package com.campus.backend.bean.merchant;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Min;

@Data
@ApiModel(description = "商户入驻申请审核参数")
public class MerchantAuditBean {

    @ApiModelProperty("申请ID")
    @NotNull(message = "申请ID不能为空")
    @Min(value = 1, message = "申请ID不能小于1")
    private Integer id;

    @ApiModelProperty("审核状态：1-通过，2-拒绝")
    @NotNull(message = "审核状态不能为空")
    private Integer status;

    @ApiModelProperty("拒绝原因（拒绝时必填）")
    private String rejectReason;
}